Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

408
Vistas
apache "Access forbidden! Error 403" when creating alias to a directory in home

I'm new to apache. I'm trying to create an alias to my project folder which is in home/Documents/Projects/blog directory.

I added this to httpd configs:

Alias /blog "/home/ehsan/Documents/Projects/blog/ui/dist"   
<Directory "/home/ehsan/Documents/Projects/blog/ui/dist">
    DirectoryIndex index.html
    AllowOverride All
    Options FollowSymlinks
    Require all granted
</Directory>

I did this also:

sudo chmod -R 775 /home/ehsan/Documents/Projects/leitner/ui/dist

but I get "403 Access forbidden!" error.

I did the same thing for phpmyadmin and it works.

I read somewhere that apache should have access to all the higher level directories. is that true?

apache version: 2.4.41 (Unix)

os: manjaro 18

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

I think you can make apache the owner of the folder which it's gonna make changes in it. Try this: head to your project directory as below

cd /home/ehsan/Documents/Projects/leitner

and then :

chown -R www-data:www-data ui/

if there was any error going on, send the log of apache here would be helpful

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda